package com.ktvme.dophin.process;

import com.ktvme.utils.HttpUtil;

import java.io.IOException;
import java.util.HashMap;

public class httptest2 {
    public static void main(String[] args) throws IOException {
        String url = "https://dph-cdh-admin.ktvme.com/dolphinscheduler/projects";
        String token = "3d20c94399a518aaab6946eae5ad54a2";
        HashMap<String, String> params = new HashMap<>();
        params.put("pageSize", "10");
        params.put("pageNo", "1");
        System.out.println(HttpUtil.sendGetRequest(url, params, token));

    }
}
